package com.szholly.pro.watergas_server.ps.data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class DomainItem implements Serializable {

	private static final long serialVersionUID = 1L;

	private String code;
	private String name;
	private List<DomainItem> children = new ArrayList<DomainItem>();
	
	public DomainItem(String code,String name){
		this.code = code;
		this.name = name;
	}
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<DomainItem> getChildren() {
		return children;
	}
	public void setChildren(List<DomainItem> children) {
		this.children = children;
	}
}